Создайте функцию, которая принимает числа a и b и находит недостающую экспоненту x так, чтобы a при возведении в степень x было равно b. То есть мы ищем, в какую степень нужно возвести a, чтобы получить b.
Создайте функцию, которая принимает числа a и b и находит недостающую экспоненту x так, чтобы a при возведении в степень x было равно b. То есть мы ищем, в какую степень нужно возвести a, чтобы получить b.
Примеры:
solve_for_exp(4, 1024) ➞ 5
solve_for_exp(2, 1024) ➞ 10
solve_for_exp(9, 3486784401) ➞ 10
BY Python вопросы на собеседовании с ответами
Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283
A Telegram spokesman declined to comment on the bond issue or the amount of the debt the company has due. The spokesman said Telegram’s equipment and bandwidth costs are growing because it has consistently posted more than 40% year-to-year growth in users.
At a time when the Indian stock market is peaking and has rallied immensely compared to global markets, there are companies that have not performed in the last 10 years. These are definitely a minor portion of the market considering there are hundreds of stocks that have turned multibagger since 2020. What went wrong with these stocks? Reasons vary from corporate governance, sectoral weakness, company specific and so on. But the more important question is, are these stocks worth buying?
Python вопросы на собеседовании с ответами from de